package bold.redisson;

import java.lang.annotation.*;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Lock {
    String prefix();

    String field() default "";

    //获取锁的时间 单位秒
    int expire() default 30;
}
